package com.bjpowernode.mapper;

import com.bjpowernode.entity.TTran;

import java.math.BigDecimal;
import java.util.List;

public interface TTranMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TTran record);

    int insertSelective(TTran record);

    TTran selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTran record);

    int updateByPrimaryKey(TTran record);

    List<TTran> selectByPage();

    TTran selectById(Integer id);

    BigDecimal selectSuccessTranMoney();

    BigDecimal selectTotalTranMoney();

    Integer selectTotalTranCount();

    BigDecimal selectSuccessTranCount();
}